package net.studou.po;

import java.util.Date;

/**
 * Ipblacklist entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class IPBlackList implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1466843909211376893L;
	private Integer ipId;
	private User taskReceiver;
	private User taskOwner;
	private String ip;
	private Date ipTime;

	// Constructors

	/** default constructor */
	public IPBlackList() {
	}

	/** full constructor */
	public IPBlackList(Integer ipId, User taskReceiver, User taskOwner,
			String ip, Date ipTime) {
		this.ipId = ipId;
		this.taskReceiver = taskReceiver;
		this.taskOwner = taskOwner;
		this.ip = ip;
		this.ipTime = ipTime;
	}

	// Property accessors

	public Integer getIpId() {
		return this.ipId;
	}

	public void setIpId(Integer ipId) {
		this.ipId = ipId;
	}

	public User getTaskReceiver() {
		return taskReceiver;
	}

	public void setTaskReceiver(User taskReceiver) {
		this.taskReceiver = taskReceiver;
	}

	public User getTaskOwner() {
		return taskOwner;
	}

	public void setTaskOwner(User taskOwner) {
		this.taskOwner = taskOwner;
	}

	public String getIp() {
		return this.ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Date getIpTime() {
		return this.ipTime;
	}

	public void setIpTime(Date ipTime) {
		this.ipTime = ipTime;
	}

}